x86/PoD: Make p2m_pod_empty_cache() restartable
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 2 Nov 2015 14:33:38 +0000 (15:33 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 Nov 2015 14:33:38 +0000 (15:33 +0100)
commit59a5061723ba47c0028cf48487e5de551c42a378
tree46d965a123ea1b0284603e1f559b7a2f268b01e4
parentf02a5760c75c8ce17c930e7c9068eb64997418d0
x86/PoD: Make p2m_pod_empty_cache() restartable

This avoids a long running operation when destroying a domain with a
large PoD cache.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/p2m-pod.c
xen/arch/x86/mm/paging.c
xen/include/asm-x86/p2m.h